package com.secxiot.provider.task.dao;

import com.secxiot.provider.task.entity.TaskSenderDept;
import com.secxiot.provider.task.entity.TaskSenderDeptExample;
import org.apache.ibatis.annotations.Param;
import org.springframework.stereotype.Repository;

import java.util.List;

@Repository
public interface TaskSenderDeptDao {
    int countByExample(TaskSenderDeptExample example);

    int deleteByExample(TaskSenderDeptExample example);

    int deleteByPrimaryKey(Long id);

    int insert(TaskSenderDept record);

    int insertSelective(TaskSenderDept record);

    List<TaskSenderDept> selectByExample(TaskSenderDeptExample example);

    TaskSenderDept selectByPrimaryKey(Long id);

    int updateByExampleSelective(@Param("record") TaskSenderDept record, @Param("example") TaskSenderDeptExample example);

    int updateByExample(@Param("record") TaskSenderDept record, @Param("example") TaskSenderDeptExample example);

    int updateByPrimaryKeySelective(TaskSenderDept record);

    int updateByPrimaryKey(TaskSenderDept record);

    int insertBatch(@Param("records") List<TaskSenderDept> records);
}